<%--
  Created by IntelliJ IDEA.
  User: zcw
  Date: 2018/3/29
  Time: 16:31
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="/common/taglibs.jspf" %>
<!DOCTYPE html>
<html>
<head>
    <title><spring:message code="sys.user.title" /></title>
    <meta name="decorator" content="list"/>
</head>
<body title="<spring:message code="sys.user.title" />">
<div class="layui-fluid">
    <div class="layui-row">
        <div  class="layui--col-sm12">
            <grid:grid id="groupGridId" rowNum="30" url="${appPath}/system/dictionary/ajaxList?groupId=${group.id}">
                <grid:column label="sys.common.key" hidden="true"   name="id" width="100"/>
                <grid:column label="sys.common.opt"  name="opt" formatter="button" width="100"/>
                <grid:button   groupname="opt" function="delete" />
                <grid:column label="sys.dict.group.name"  name="dictGroup.name"  query="true"  />
                <grid:column label="sys.dict.label"  name="name"  query="true"  />
                <grid:column label="sys.dict.value"  name="code"  query="true"  />

                <grid:toolbar function="create" url="${appPath}/system/dictionary/create?groupId=${group.id}"  />
                <grid:toolbar   function="update"    />
                <grid:toolbar   function="delete"    />
                <grid:toolbar  function="search"  />
                <grid:toolbar  function="reset"   icon="icon-reload"/>
            </grid:grid>
        </div>
    </div>
</div>

</body>
</html>
